import request from '@/utils/request'

export default {
  getOrderList (data) {
    const url = 'console/api/v1/alarm-job/fill-in-list'
    return request.get(url, data)
  },
  getMyOrderList (data) {
    const url = 'console/api/v1/alarm-job/my-fill-in-list'
    return request.get(url, data)
  },

  findJobsDetailWithFile (data) {
    const url = 'console/api/v1/alarm-job/findJobsDetailWithFile'
    return request.get(url, data)
  },
  fillIinItemsBatch(data) {
    const url = 'console/api/v1/alarm-job/fill-in-items-batch'
    return request.postBody(url, data)
  },
  fillIinItems(data) {
    const url = 'console/api/v1/alarm-job/fill-in-items'
    return request.postBody(url, data)
  },
}
